const file = require("../models/file")
var express = require('express');
var router = express.Router();
router.get("/", async function (req, res) {
    const data = await file.findAll()
    res.json({
        message: "1",
        data
    })
})
module.exports = router